extends Node

const tile_size : int = 32

#@onready var gravity: int = ProjectSettings.get_setting("physics/2d/default_gravity")
const gravity : int = 980

enum Colors
{
	WHITE       = 17,
	RED         = 18,
	GREEN       = 19,
	BLUE        = 20,
	CYAN        = 21,
	MAGENTA     = 22,
	YELLOW      = 23,
}

func get_color(index : Colors) -> Color:
	match index:
		Globals.Colors.WHITE:
			return Color.WHITE
		Globals.Colors.RED:
			return Color.RED
		Globals.Colors.GREEN:
			return Color.GREEN
		Globals.Colors.BLUE:
			return Color.BLUE
		Globals.Colors.CYAN:
			return Color.CYAN
		Globals.Colors.MAGENTA:
			return Color.MAGENTA
		Globals.Colors.YELLOW:
			return Color.YELLOW
		_:
			return Color.BLACK
